const layout = (state={
    navCont:true,
},action)=>{
    switch (action.type) {
        case 'TOGGLE_NAV':
                return Object.assign({},state,{
                    navCont:!state.navCont
                });
            break;
    
        default:
            return state;
            break;
    }
};
export default layout;